package jm.nj.demo04mian.demo01;
/*
* 测试学生的特有属性和共享属性
* */
public class Demo01Student {
    public static void main(String[] args){
        Student s1 = new Student();
        s1.name =  "qwe";
        s1.age = 18;
        System.out.println("s1.name:+s1.name");
        System.out.println("s1.age:"+s1.age);
        System.out.println("s1.country:"+s1.country);

        Student s2 = new Student();
        s2.name = "Jack";
        s2.age = 30;
        System.out.println("s2.name:"+s2.name);
        System.out.println("s2.age:"+s2.age);
        System.out.println("s2.country:"+s1.country);
        System.out.println("s2.country:"+s1.country);
    }
}
